<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/9/5
  Time: 23:56
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    request.setCharacterEncoding("utf-8");
    //          获取     单选框
    String name=request.getParameter("userid");
    String pwd=request.getParameter("passwd");
    if(name.equals("lucky")&&pwd.equals("123456")){
        request.getRequestDispatcher("inInf.jsp").forward(request,response);
    }else {
        response.sendRedirect("mailLogin.jsp");
    }
%>
</body>
</html>
